/**
 * Copyright © 2016-2025 The Thingsboard Authors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
@import 'constants';

:host {
  span {
    font-style: normal;
    font-weight: 500;
    font-size: 0.9em;
    line-height: 0.9em;
    letter-spacing: 0.25px;
    color: rgba(0, 0, 0, 0.54);
    position: relative;
    border-bottom: none;
  }

  .tb-title-link-active {
    cursor: pointer;
    &::after {
      font-family: 'Material Icons';
      content: 'arrow_forward';
      display: inline-block;
      transform: rotate(315deg);
      font-weight: normal;
      font-style: normal;
      font-size: 1.1em;
      line-height: 1.1em;
      margin-left: 6px;
      color: rgba(0, 0, 0, 0.12);
      vertical-align: bottom;
    }
    &:hover::after {
      color: rgba(0, 0, 0, 0.54);
    }
  }

  .tb-title-link-disabled {
    cursor: default;
  }

  mat-icon {
    font-size: 19px;
    height: 18px;
    width: 19px;
    line-height: 18px;
    color: rgba(0, 0, 0, 0.12);
    cursor: pointer;

    &:hover {
      color: rgba(0, 0, 0, 0.38);
    }
  }

  /*@media #{$mat-lt-xl} {
    span {
      font-size: 11px;
      line-height: 11px;
    }
    .tb-title-link-active {
      &::after {
        font-size: 14px;
        line-height: 14px;
      }
    }
  }*/
}
